//
// Created by postgres on 3/28/17.
//
#ifndef SIMPSQL_MEMUTILS_H
#define SIMPSQL_MEMUTILS_H
extern void *palloc(size_t size);
extern void pfree(void *pointer);
extern void *pcalloc (size_t num, size_t size);
extern void *repalloc(void *pointer, size_t size);
#define   setbit(x,y)    x|=(1<<y) //将X的第Y位置1
#define   clrbit(x,y)     x&=~(1<<y) //将X的第Y位清0
#endif //SIMPSQL_MEMUTILS_H
